﻿using System;
namespace 多态2
{
    class Square : Shape
    {
       public  int sideLen { get; set; }
        public override void GetArea(int Radius) {
            sideLen = Radius;
            int S = sideLen * sideLen;
            Console.WriteLine("该长方形的面积为：" + S);
        }

    }
}
